package com.example.aics.assistant;

import static dev.langchain4j.service.spring.AiServiceWiringMode.EXPLICIT;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;
import dev.langchain4j.service.spring.AiService;

@AiService(wiringMode = EXPLICIT ,  chatModel = "openAiChatModel", chatMemoryProvider = "chatMemoryProvider", tools = "calculatorTools")
public interface CalculatorAssistant {

    @UserMessage("{{expression}}")
    String calculate(@MemoryId String memoryId,@V("expression") String expression);
}
